package com.rs.service;


import java.util.List;

import org.springframework.stereotype.Service;

import com.github.pagehelper.Page;
import com.rs.model.CommonResult;
import com.rs.model.ZhUser;


@Service
public interface ZhUserTeacherService {

	//添加一名教师
	public CommonResult<Integer> addTeacher(ZhUser user);
	
	//修改一名教师信息
	public CommonResult<Integer> updateTeacher(ZhUser user);
	
	//删除一名教师信息
	public CommonResult<Integer> deleteTeacher(ZhUser user);
	
	//查看一名教师信息
	public CommonResult<ZhUser> selectTeacher(ZhUser user);
	
	//v列表显示所有老师信息
	public Page<ZhUser> selectTeachers(ZhUser user);
	
	//v列表显示所有老师信息
	public List<ZhUser> listTeacher(ZhUser user);
}
